<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="author" content="CYW">
    <title></title>
    <style>
        body{
            margin: 0;
        }
        *{
            box-sizing: border-box;
        }
        .box{
            height: 860px;
            width: 360px;
            border:1px solid #666;
            margin: 50px auto;
            overflow: hidden;
            text-align: center;
        }
        .box section{
            width: 100%;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: lightgray;
        }


        .img-change{
            width: 320px;
            height: 250px;
             /* border:1px solid;   */
            margin: 10px 20px; 
            padding: 0;
            list-style: none;   
            position: relative; 
             overflow: hidden;       
        }
      
         .img-change li{
             
             width: 650px;
             height: 250px;
             /* border:1px solid ; */
             display: flex;
             position: absolute;
             left: 0;
         }
         .img-change img{
             width:320px;
             height: 250px;
         }



         .img-change p{
             color: white;
            margin:0;
            padding: 0;
            width: 100%;
            background-color: palevioletred;
            position: absolute;
            bottom: 0;
             display: none; 
        }
         .ul2 P{
             background-color: green;
         }
        .ul3 p{
            background-color: skyblue;
        }
        .img-change .p1{
              display: block;  
        }




       
    </style>
</head>
<body>
     <div class="box">      

          <section>
              专辑推荐
          </section>
          <ul class="img-change">
              <li><a href=""> <img src="./img/1_1.jpg" alt=""><img class="img-two" src="./img/1_2.jpg" alt=""></a></li>

              <p class="p1">COCOON/可可尼</p>
              <p class="p2">几何为网极致绚烂</p> 
          </ul>


          <ul class="img-change ul2">
              <li><a href=""> <img src="./img/2_1.jpg" alt=""><img class="img-two" src="./img/2_2.jpg" alt=""></a></li>

              <p class="p1">INSUN/恩裳</p>
              <p class="p2">2013春印象</p> 
          </ul>


           <ul class="img-change  ul3">
              <li><a href=""> <img src="./img/3_1.jpg" alt=""><img class="img-two" src="./img/3_2.jpg" alt=""></a></li>

              <p class="p1">JNBY/江南布衣</p>
              <p class="p2">NANMENG/南梦</p> 
          </ul>

     </div>
  
    <script src="jquery.js"></script>
</body>
</html>
<script>

    $('.img-change').hover(function(){
        $(this).find('li').stop().animate({
            left:-320,           
        },700);
        $(this).find('.p2').stop().slideDown(500);
        $(this).find('.p1').stop().slideUp(500)

    },function(){
           $(this).find('li').stop().animate({
            left:0
        },700)
        $(this).find('.p2').stop().slideUp(500);
        $(this).find('.p1').stop().slideDown(500)

    })
     
    
</script>